package com.material.supplier.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.material.common.annotation.Excel;
import com.material.common.core.domain.BaseEntity;

/**
 * 车辆管理对象 supplier_car
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public class SupplierCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 供应商id */
    @Excel(name = "供应商id")
    private Long supplierId;

    /** 司机 */
    @Excel(name = "司机")
    private String driver;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 司机手机号 */
    @Excel(name = "司机手机号")
    private String mobile;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setDriver(String driver) 
    {
        this.driver = driver;
    }

    public String getDriver() 
    {
        return driver;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierId", getSupplierId())
            .append("driver", getDriver())
            .append("carNum", getCarNum())
            .append("mobile", getMobile())
            .append("createTime", getCreateTime())
            .toString();
    }
}
